﻿package com.eitb.events{
	import flash.events.Event;
	import com.eitb.events.ScrollEvent;
	public class ScrollEvent extends Event {
		public static  const DEFAULT_NAME:String = "com.eitb.events.ScrollEvent";
		public static  const POINT_SELECTED:String = "pointSelected";
		public static  const POINT_MOVE:String = "pointMove";
		public var porcentaje:Number;
		
		public function ScrollEvent($type:String, $params:Object, $bubbles:Boolean = false, $cancelable:Boolean = false) {
			super($type, $bubbles, $cancelable);
			this.porcentaje = $params.porcentaje;
		}
		public override function clone():Event {
			return new ScrollEvent(type,this.porcentaje,bubbles,cancelable);
		}
		public override function toString():String {
			return formatToString("ScrollEvent","params","type","bubbles","cancelable");
		}
	}
}